CLS

SET NETWORKPATH=%~dp0

ATTRIB -R "%NETWORKPATH%Project\Contents\Main\sitemap.xml"
ATTRIB -R "%NETWORKPATH%Project\Contents\Main\components.vxml"

ICACLS "%NETWORKPATH%Project\FileCenter" /grant:r "NETWORK SERVICE":(OI)(CI)M /Q
ICACLS "%NETWORKPATH%Project\Contents\Main\components.vxml" /grant:r "NETWORK SERVICE":M /Q
ICACLS "%NETWORKPATH%Project\Contents\Main\sitemap.xml" /grant:r "NETWORK SERVICE":M /Q
ICACLS "%NETWORKPATH%Components" /grant:r "NETWORK SERVICE":(OI)(CI)R /Q
ICACLS "%NETWORKPATH%CMS6\App_Data\Plugins" /grant:r "NETWORK SERVICE":(OI)(CI)M /Q


PAUSE